#ifndef __U_MAIN_H__
#define __U_MAIN_H__
//	PB9 GPIO INPUT, as a signal that indicate the battery is charge ok or not.
//	LOW: charging, HIGH:charge ok.

//	PC14 GPIO OUTPUT, enable SC8802 or not
//	LOW: enable, HIGH: disable

//	PA0: NTC input,analog input
//	PA1: VCC input,analog input

//	PA2: GPIO OUTPUT, FUSB302 SDA
//	PA3: GPIO OUTPUT, FUSB302 SCL
//	PA4: GPIO INPUT, FUSB302 INT
// see fusb302Port.h for more detail

//	PA5: GPIO OUTPUT, DP- QC charge DP negative output
//	PA6: GPIO OUTPUT, DP+ QC charge DP positive output
//	PA7: GPIO INPUT, DP Analog sample Port

//	PB0: GPIO OUTPUT, DN- QC charge DP negative output
//	PB1: GPIO OUTPUT, DN+ QC charge DP positive output
//	PB2: GPIO INPUT, DN Analog sample Port

//	PA8: GPIO OUTPUT, RESET PIN, generate reset signal,100ms low to High

//	PA9: debug USART_TX

//	PC6: GPIO OUTPUT, LCD_SCL

//	PA10: debug USART_RX

//	PA11: GPIO OUTPUT, LCD_SDA

//	PA12: GPIO OUTPUT, INA226 SCL

//	PA15: GPIO OUTPUT, INA226 SDA

//	PB3: GPIO OUTPUT, VOUT_ENABLE,enable the output PMOS,to begin charger

//	PB4: 5V_MTTP enable, enable the 5V_MTTP
//	HIGH: enable, LOW: disable

//	PB5: 9V_MTTP enable, enable the 12V_MTTP
//	HIGH: enable, LOW: disable

//	PB6: 12V_MTTP enable, enable the 12V_MTTP

//	PB7 fan pwm.

//	PB8: current control pwm.
void uMain(void);
#endif
